package com.dk.mapper;

import com.dk.entity.BSVo;
import com.dk.entity.TBrand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2021-11-01
 */
public interface TBrandMapper extends BaseMapper<TBrand> {

    BSVo findAllByBrandIdAndSeriesId(@Param("bId") Long brandId,@Param("sId") Long seriesId);

    TBrand findAllById(Long id);

    List<TBrand> findAll();
}
